package java_generics.generic_types;


public class OrderedPairTest2 {

	public static void main(String[] args) {
		Pair<String, Integer> p1 = new OrderedPair<String, Integer>("eight", 8);
		Pair<String, String>  p2 = new OrderedPair<String, String>("hello", "world");
		Pair<String, Box<Integer>> p3 = new OrderedPair<>("Box", new Box<>(10));
		
		System.out.println(p1);
		System.out.println(p2);
		System.out.println(p3);
	}

}
